package com.guigu.gateway.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 资源
 * </p>
 *
 * @author TaoLong
 * @since 2021-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AuthResource对象", description="资源")
public class AuthResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "资源编码 规则：链接：数据列：按钮：")
    private String code;

    @ApiModelProperty(value = "接口名称")
    private String name;

    @ApiModelProperty(value = "菜单ID#c_auth_menu")
    private Long menuId;

    @ApiModelProperty(value = "请求方法")
    private String method;

    @ApiModelProperty(value = "请求路径")
    private String url;

    @ApiModelProperty(value = "接口描述")
    private String describe;

    @ApiModelProperty(value = "创建人id")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人id")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
